{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form id="J_FormArticle" action="" method="post">
<div class="formitems inline">
    <label class="fi-name"><span class="colorRed">*</span>视频名称：</label>
    <div class="form-controls">
        <input type="text" placeholder="" class="xlarge" name="live_name" id="live_name" value="{$info.live_name}">
        <span class="fi-help-text hide"></span>
    </div>
</div>
    <div class="formitems inline">
        <label class="fi-name">
            <span class="colorRed">*</span>所属频道：</label>
        <div class="form-controls">
            <select name="live_class_id">
                <option value="">--请选择--</option>
                {foreach from=$live_class_list item=this}
                <option value="{$this.live_class_id}" {if $this.live_class_id == $info.live_class_id}selected{/if}>{$this.live_class_name}</option>
                {/foreach}
            </select>
            <span class="fi-help-text error"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>视频地址：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="xlarge" name="url" id="url" value="{$info.url}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>价格：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="price" id="price" value="{$info.price}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    {upload_image_widget($pic_data)}

<div class="formitems inline">
    <label class="fi-name"><span class="colorRed">*</span>排序号：</label>
    <div class="form-controls">
        <input type="text" placeholder="" class="small" name="serial" id="serial" value="{$info.serial}">
        <span class="fi-help-text hide"></span>
    </div>
</div>


<div class="formitems inline">
    <label class="fi-name">显示：</label>
    <div class="form-controls">
        <div class="radio-group">
            <label><input type="radio" name="isuse" value="1" {if $info.isuse == 1}checked="checked"{/if} />是</label>
            <label><input type="radio" name="isuse" value="0" {if $info.isuse == 0}checked="checked"{/if} />否</label>
        </div>
    </div>
</div>

<!--<div class="formitems inline">
    <label class="fi-name">是否在首页显示：</label>
    <div class="form-controls">
        <div class="radio-group">
            <label><input type="radio" name="is_index" value="1" {if $info.is_index == 1}checked="checked"{/if} />是</label>
            <label><input type="radio" name="is_index" value="0" {if $info.is_index == 0}checked="checked"{/if} />否</label>
        </div>
    </div>
</div>-->


<div class="formitems inline">
    <label class="fi-name"></label>
    <div class="form-controls">
        <input type="hidden" name="act" value="{$act}" />
        <input type="hidden" name="live_id" value="{$info.live_id}" />
        <button type="submit" class="btn btn-blue"><i class="gicon-check white"></i>保存</button>
    </div>
</div>
</form>
{/block}